package com.baizw.cultivation.module.admin.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 登录对象
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年04月29日 11:20
 */
@Data
@ApiModel("用户登录对象")
public class LoginFormVO implements Serializable {

    @NotBlank(message = "用户名称不能为空")
    @ApiModelProperty(value = "用户名称", example = "admin")
    private String loginName;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", example = "admin")
    private String password;

    @ApiModelProperty("是否记住我")
    private Boolean rememberMe;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String captcha;

    @NotBlank(message = "UUID不能为空")
    @ApiModelProperty("验证码UUID")
    private String uuid;
}
